home *** CD-ROM | disk | FTP | other *** search
- property spriteNum, myStartLoc
- global mySprite
-
- on exitFrame
- mySprite = sprite(spriteNum).locH
- if mySprite < 1100 then
- sprite(spriteNum).locH = sprite(spriteNum).locH + 10
- if rollover(2) then
- sprite(spriteNum).locH = sprite(spriteNum).locH
- repeat while inside(point(the mouseH, the mouseV), the rect of sprite 2)
- sprite(spriteNum).locH = sprite(spriteNum).locH
- end repeat
- end if
- else
- sprite(spriteNum).locH = -90
- end if
- updateStage()
- end
-